

package com.eshop.we.business;

import com.eshop.we.favorite.dto.FavoriteDto;
import com.eshop.we.favorite.entity.Favorite;

import java.util.List;

/**
 * @author wangzhanguo
 * @create 2018-06-05 9:03
 **/
public interface FavoriteBusiness extends BaseBusiness<Favorite> {

    List<FavoriteDto> selectUserBooks(Integer userId);

    Integer  updateFavoriteStatus(Integer favoriteId, Integer userId);

}
